﻿<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page session="true" %>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/websocket/css/style.css">
    <title>用户列表</title>
</head>
<body>
    <div class="content">
        <div class="table">
            <div class="table-title">
                <span>用户列表</span>
            </div>
            <table>
                <tr>
                    <th>用户名</th>
                    <th>操作</th>
                </tr>
                <c:forEach items="${userList}" var="users">
                    <tr>
                        <td>${users.userName}</td>
                        <td><a class="chart" href="/websocket/chart/${users.userName}">聊天</a></td>
                    </tr>
                </c:forEach>
            </table>
        </div>
    </div>
</body>
</html>